class Bezel {
  constructor (player) {
    this.player = player

    const bezel = this.player.dom.bezel
    const baseClass = this.player._baseClass
    bezel.addEventListener('animationend', () => {
      bezel.classList.remove(`${baseClass}-bezel-transition`)
    })
  }

  switch (icon) {
    const bezel = this.player.dom.bezel
    const baseClass = this.player._baseClass
    bezel.innerHTML = icon
    bezel.classList.add(`${baseClass}-bezel-transition`)
  }
}

export default Bezel
